module.exports = (app) => {
	const account = require('../controller/accounts.controller')
	var router = require('express').Router()
	router.get('/', account.findOne)
	router.get('/info', account.findInfo)
	router.put('/', account.update)
	router.post('/', account.create)
	app.use('/account', router)
}
